<?php

class Kzend_View_Helper_ControlChecked extends Zend_View_Helper_Abstract
{
    public function controlChecked($data, $paramName, $checkedValue)
    {
        if ($data->{$paramName} == $checkedValue) {
            return "checked";
        }

        return "";
    }
}
